<!DOCTYPE html>
<html>
<head>
<div th:replace="common/common_resource :: common_css"></div>
<title th:text="${application.shop_name} +' | 查看邮费模板'"></title>
</head>
<body class="hold-transition skin-blue sidebar-mini" >
	<div class="wrapper">
		<div th:replace="common/common_h5 :: loginAndLogout"></div>
		<div th:replace="common/common_h5 :: upload_image"></div>
		<div th:replace="common/common_h5 :: left_menu"></div>
		<div class="content-wrapper">
			<section class="content">
					<div class="row">
					<div class="col-xs-12">
						<div class="box">
							<div class="box-header">
								<div class="row">
									<div class="col-xs-4">
										<form th:action="${#httpServletRequest.getContextPath()}+'/TblWxFreightTemplate/addFritTemp'" method="post">
											<input type="hidden" name="menuUuid" th:value="${menuUuid!=null}?${menuUuid}:'250'">
											<button type="submit" id="add_dep" class="btn  btn-warning " style="margin-bottom: 10px;">
												<i class="fa fa-plus">添加邮费模板</i>
											</button>
										</form>
									</div>
									<div class="col-xs-4">
										<h3 class="box-title">邮费模板信息</h3>
									</div>
									<div class="col-xs-4"></div>
								</div>
							</div>
							<div class="box-body table-responsive">
								<table id="example2" class="table table-bordered table-striped ">
									<thead>
										<tr class="bg-green ">
											<th>序号</th>
											<th>邮费模板名称</th>
											<th>邮费模板介绍</th>
											<th>邮费模板创建时间</th>
											<th>是否可用</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody>
										<tr th:class="${freightTempStat.index % 2 ==0}? '' : 'bg-gray'"
											th:each="freightTemp,freightTempStat:${freightTempList}">
											<td th:text="${freightTempStat.index+1}"></td>
											<td th:text="${freightTemp.freightTempName}"></td>
											<td th:text="${freightTemp.freightTempDesc}"></td>
											<td th:text="${freightTemp.freightTempCreatetimeView}"></td>
											<td><i class="fa fa-circle text-success">可用</i></td>
											<td>
												<div class="row">
													<div class="col-xs-4 text-center">
														<form th:action="${#httpServletRequest.getContextPath()}+'/TblWxFreightTemplate/updateFritTemp'" method="post">
															 <input type="hidden" name="menuUuid" th:value="${menuUuid!=null}?${menuUuid}:'250'">
														     <input type="hidden" th:value="${freightTemp!=null}?${freightTemp.freightTempId}:''" id="freightTempId" name="freightTempId"/>
														     <button type="submit"  class="fa fa-file btn btn-primary" >详情</button>
														</form>
													</div>
													<div class="col-xs-4 text-center">
													    	<a href="javascript:void(0);" th:id="${freightTemp!=null}?${freightTemp.freightTempId}:''"  data-toggle="tooltip"  data-placement="top" data-original-title="删除后将无法恢复"  class="fa fa-trash btn btn-primary example5-3-3" >废除</a>
													</div>
												</div>
											</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
			</section>
		</div>
		<div th:replace="common/common_h5 :: down_foot"></div>
		<div th:replace="common/common_h5 :: down_sidebar"></div>
		<div class="control-sidebar-bg"></div>
		<div th:replace="common/common_resource :: common_js"></div>
		<script th:src="@{/admin_js/basics/process/freightTemp.js}"></script>
</body>
</html>
